package com.wanghai.carwashing.core.bean.config;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 系统日志配置
 * @author 王海
 */
@Component
public class LogConfig implements Serializable {
    @Value("${error.log.open}")
    public String errorLog;
    @Value("${api.calllog.open}")
    public String apicalllog;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
